package mil.af.amc.adpetracker.dao;

import mil.af.amc.adpetracker.model.Ros;
import mil.af.amc.adpetracker.model.AdpeAccount;

import java.util.List;

/**
 * Interface for ROS Dao
 *
 * @author TSgt Jason Ferguson
 */

public interface RosDao extends GenericDao<Ros> {

    /**
     * Return a ROS object by its unique tracking number
     *
     * @param trackingNumber    String representing the tracking number
     * @return  a ROS object or null
     */
    Ros getByTrackingNumber(String trackingNumber);

    /**
     * Return a List of ROS objects for a given ADPE account
     *
     * @param acct     an ADPE Account object
     * @return  a List of ROS objects or empty list
     */
    List<Ros> getByAdpeAccount(AdpeAccount acct);
}
